package com.ctsi.organise.entity;

import com.ctsi.framework.common.domain.BaseEntity;
import com.ctsi.organise.common.constant.PartyStatus;
import com.ctsi.organise.common.model.Party;

/**
 * @author: zhangjw
 * @Date: 2018/11/10 14:01
 * @Description: 组织结构抽象类
 */
public class PartyEntity extends BaseEntity implements Party {
    private static final long serialVersionUID = -2307602373486688353L;
    /**
     * party 类型ID
     */
    protected Integer partyTypeId;
    /**
     * 状态ID
     */
    protected String statusId;
    /**
     * 顺序号
     */
    protected Integer orderNo;

    public PartyEntity() {
        this.statusId = PartyStatus.normal.value;
    }

    @Override
    public Integer getPartyTypeId() {
        return this.partyTypeId;
    }

    @Override
    public void setPartyTypeId(Integer partyTypeId) {
        this.partyTypeId = partyTypeId;
    }

    @Override
    public String getStatusId() {
        return this.statusId;
    }

    @Override
    public void setStatusId(String statusId) {
        this.statusId = statusId;
    }

    @Override
    public Integer getOrderNo() {
        return this.orderNo;
    }

    @Override
    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }
}
